package customerEnter.Frame.AnnotationExecute;

import java.lang.reflect.Method;

public class AnnotationExecute {

	public static Method getThisMethod(Class<?> class1, String methodName) {
		Method[] methods = class1.getDeclaredMethods();
		for (Method method : methods) {
			if (method.getName().equals(methodName)) {
				return method;
			}
		}
		return null;
	}

}
